#ifndef _WEB_STATION_DATA_STORE_H_
#define _WEB_STATION_DATA_STORE_H_

#include <string>
#include <deque>
#include <memory>
#include "XmlModel.h"

struct RadioStation{
    RadioStation(const char* n, const char* a)
        : name(n), address(a) {}
    std::string name;
    std::string address;
};

class WebStationDataStore : public XmlModel {
public:
    WebStationDataStore(std::string path) : XmlModel(path) {}
    
    virtual void save();
    virtual void load();
    
//protected:
    std::deque<std::shared_ptr<RadioStation> > m_station_list;
};

#endif
